﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Domain.OperationsManagement
{
    /// <summary>
    /// 项目名称
    /// </summary>
   [Table("Project")]
    public class Project
    {
        /// <summary>
        /// 项目立项ID
        /// </summary>
        [Key]
        public int ProjectId { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        
        public string  ProjectName { get; set; }
        /// <summary>
        /// 项目级别
        /// </summary>
        public bool SuperLevel { get; set; }
        /// <summary>
        /// 建设单位
        /// </summary>
        public string Devel { get; set; }
        /// <summary>
        /// 建设地点
        /// </summary>
        public string Consite { get; set; }
        /// <summary>
        /// 建设规模
        /// </summary>
        public decimal Scale { get; set; }
        /// <summary>
        /// 建设类别
        /// </summary>
        public int Category { get; set; }
        /// <summary>
        /// 结构样式
        /// </summary>
        public string ArchiteCtureId { get; set; }
        /// <summary>
        /// 建筑分类
        /// </summary>
        public string BuildingId { get; set; }
        /// <summary>
        /// 设计阶段
        /// </summary>
        public string DesignId { get; set; }
        /// <summary>
        /// 连接项目来源
        /// </summary>
        public int SourceId { get; set; }
        /// <summary>
        /// 合同金额
        /// </summary>
        public decimal ConMoney { get; set; }
        /// <summary>
        /// 连接行业性质
        /// </summary>
        public int NatureId { get; set; }
        /// <summary>
        /// 甲方负责人
        /// </summary>
        public string SerialNumber { get; set; }
        /// <summary>
        /// 甲方负责人电话
        /// </summary>
        public string JiaPhone { get; set; }
        /// <summary>
        /// 执行设总
        /// </summary>
        public string Total { get; set; }
        /// <summary>
        /// 执行佘总电话
        /// </summary>
        public string TotalPhone { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime  BeginTime { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime  CompletionTime { get; set; }
        /// <summary>
        /// 其他参与部门
        /// </summary>
        public string Participate { get; set; }
        /// <summary>
        /// 项目概况
        /// </summary>
        public string Overview { get; set; }
        /// <summary>
        /// 项目备注
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 项目高清图
        /// </summary>
        public string  ProjectImg { get; set; }
        /// <summary>
        /// 合同关联
        /// </summary>
        public int contractId { get; set; }
        /// <summary>
        /// 承接部门
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 连接项目统计
        /// </summary>
        public int StaId { get; set; }
        /// <summary>
        /// 连接项目进度
        /// </summary>
        public int ProId { get; set; }
        /// <summary>
        /// 录入人
        /// </summary>
        public int EnteringId { get; set; }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime EnteringTime { get; set; } = DateTime.Now;

    }
}
